<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			.div1{
				border: 1px dashed black;
				width: 300px;
				height: 300px;
				text-align: center;
			}
			.div2{
				border: 1px solid black;
				width: 250px;
				height: 250px;
				margin-left: 25px;
				margin-top: 5px;
				text-align: center;
				background-color: chartreuse;
			}
			.div3{
				border: 1px solid black;
				width: 200px;
				height: 200px;
				margin-left: 25px;
				margin-top: 5px;
				text-align: center;
				background-color: white;
			}
			.div4{
				border: 1px dashed black;
				width: 150px;
				height: 150px;
				margin-left: 25px;
				margin-top: 5px;
				text-align: center;
			}
		</style>
	</head>
	<body>
		<div class="div1">Margin
			<div class="div2">Border
				<div class="div3">Padding
					<div class="div4">Content</div>
				</div>
			</div>
		</div>
	</body>
</html>
